#pragma once
#include "EventGameObjectBase.h"
#include "util/Shared_ptr.h"
#include "GameObject.h"


namespace Boon
{
	class ProcessManager;

	class BOON_API Event_GameObject_Created : public EventGameObjectBase
	{
	public:
		// GUID created with windows GUID-Tool
		static const EventType			ID = 0xad3b1e13;


		Event_GameObject_Created( const GameObjectStrong& ptr );

		virtual const EventType GetEventID() const;

		virtual IMessengerEventStrong Copy() const;

		virtual const char* GetName() const;

	private:
		const GameObjectStrong			m_actorPtr;

		friend class ProcessManager;
	};

	typedef Shared_ptr<Event_GameObject_Created> Event_GameObject_CreatedStrong;
}
